package net.uhuijia.zb.userzhubolivefeedback.service;

import net.uhuijia.appbase.service.BaseService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;
import net.uhuijia.appbase.service.CrudService;
import net.uhuijia.zb.userzhubolivefeedback.persistence.dao.UserZhuboLiveFeedBackDao;
import net.uhuijia.zb.userzhubolivefeedback.persistence.model.UserZhuboLiveFeedBack;
import net.uhuijia.zb.userzhubolivefeedback.persistence.model.UserZhuboLiveFeedBackExample;


@Service
@Transactional
public interface UserZhuboLiveFeedBackService
     extends BaseService<UserZhuboLiveFeedBack,UserZhuboLiveFeedBackExample> {

    /**
     * 初始化评价数据
     * @param liveId
     * @param feedBackUserId
     * @param content
     * @return
     */
    UserZhuboLiveFeedBack generalUserZhuboLiveFeedBack(String liveId,String feedBackUserId,String content);

    /**
     * 添加评论
     * @param liveId
     * @param feedBackUserId
     * @param content
     * @return
     */
    UserZhuboLiveFeedBack addUserZhuboLiveFeedBack(String liveId,String feedBackUserId,String content);



}